package com.funny.learning.english.dialog;

import android.view.View;
import android.widget.PopupWindow;

public class ShowPopup{
	
	private PopupWindow popupWindow;

	public ShowPopup(PopupWindow popupWindow) {
		this.popupWindow = popupWindow;
	}
	public void setContentView(View view){
		popupWindow.setContentView(view);
	}
	
	public void show(View vAnchor){
		popupWindow.showAsDropDown(vAnchor);
	}
}
